package com.zhangpingyang.jwttoken.dao;

import com.zhangpingyang.jwttoken.mgb.model.UmsPermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: Zhang Pingyang
 * @Date: 2019/11/11 10:31
 */
public interface UmsAdminRoleRelationDao {
    /**
     * 获取用户所有权限
     * @param adminId
     * @return
     */
    List<UmsPermission> getPermissionList(@Param("adminId") Long adminId);
}
